package com.cj.demo6.pojo;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
//有参无参构造器
@NoArgsConstructor
@AllArgsConstructor
public class User {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("用户编号")
    private Integer uId;

    @ApiModelProperty("用户姓名")
    private  String uName;

    @ApiModelProperty("用户性别")
    private  String uSex;

    @ApiModelProperty("用户年龄")
    private Integer uAge;

    @ApiModelProperty("用户电话")
    private Integer uPhone;

    @ApiModelProperty("信用评分")
    private Integer trustScore;

    @ApiModelProperty("技能点")
    private Integer skillPoints;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private String updateTime;

    @ApiModelProperty("插入时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String insertTime;
}
